<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <title>我的课程</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
<script type="text/javascript" src="__JS__/jshelper.js"></script> 
		<script type="text/JavaScript">
			function studentupload(classid){
				window.location.href="__URL__/studentupload/id/"+classid;
			}
			</script>
</head>
<body>
<!-- layout::Auth:header::0 -->
        	<div class="container-fluid">
     			<div class="row-fluid">
                	<!-- layout::Auth:leftmenu::0 -->
                    	<div class="span8">
                          <div class="hero-unit">
                            <h1>我的课程</h1>
                            <p style="font-size:12px">当前位置：
                                <a href='__APP__/index/index' class="nowpositionhref">主页</a>>
                                <a href=""  class="nowpositionhref">我的课程</a>
                             </p>
						</div>
					<table width="100%"  class="table table-bordered table-striped">
						<thead >
							<tr id="table_class_show_title">
								<th>课程序号</th>
								<th>课程名称</th>
								<th>授课教师</th>
                                <th style="display:none">ID</th>
								<th>操作</th>
							</tr>
						</thead>
						<load href"__PUBLIC__/js/list_show.js">
						<tbody id="tab">
							<?php if(is_array($list)): $i = 0; $__LIST__ = $list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><tr id="table_class_show">
									<td><?php echo ($vo["classid"]); ?></td>
									<td><?php echo ($vo["cname"]); ?></td>
									<td><?php echo ($vo["nname"]); ?></td>
									<td style="display:none;"><?php echo ($vo["id"]); ?></td>
									<td>
										<input type="button" name="classfile" onClick="studentupload('<?php echo ($vo["classid"]); ?>')" class="btn btn-success" value="提交作业">
									</td>
								</tr><?php endforeach; endif; else: echo "" ;endif; ?>
						</tbody>		
					</table>
			
					 <p class="navbar-text pull-right"><?php echo ($page); ?></p>
                  </div>
                </div>
              </div>
</body>
</html>